package com.example.demo.neo4j.repository;

import com.example.demo.neo4j.entity.Legend;
import org.springframework.data.repository.CrudRepository;

/**
 * @author sl
 * @version 1.0
 * @ClassName LegendRepo
 * @Deacription TODO
 * @email shilun217@qq.com
 * @date 2021/11/20/020 23:04
 **/
public interface LegendRepo extends CrudRepository<Legend,Long> {

    Legend findByName(String name);

}
